function showLeft(){
		$(".left").hide();
		$(".left1").show();
	}
function showLeft1(){
		$(".left").show();
		$(".left1").hide();
}

function setMenu(obj){
	getWeek();
	if(obj=="plan"){
		$("#plan").attr("src","static/images/menu/plan-2.png");
	}else if(obj=="emcs"){
		$("#emcs").attr("src","static/images/menu/emcs-2.png");
	}else{
		//fas
		$("#fas").attr("src","static/images/menu/FAS-2.png");
	}
}

function getWeek()
{
	var d = new Date();
	var weekday=new Array(7);
	weekday[0]="星期日";
	weekday[1]="星期一";
	weekday[2]="星期二";
	weekday[3]="星期三";
	weekday[4]="星期四";
	weekday[5]="星期五";
	weekday[6]="星期六";
	var x = document.getElementById("week");
	x.innerHTML=weekday[d.getDay()];
}

function getPlatform(){
	var platformclass = $('#platform').attr('class');
	if(platformclass=="platform"){
		$(".platfromlist").show();
		$("#platform").removeClass("platform");
		$("#platform").addClass("platform1");
	}else{
		$(".platfromlist").hide();
		$("#platform").removeClass("platform1");
		$("#platform").addClass("platform");
	}
}